    <head>
        <script type="text/javascript" src="${rc.contextPath}/Scripts/jquery.url.js" charset="utf-8"></script>
        <script type="text/javascript" src="${rc.contextPath}/Scripts/jquery.validate.min.js"></script>
        <script type="text/javascript" src="${rc.contextPath}/Scripts/jquery.validate.wrapper.js"></script>
        <script type="text/javascript" src="${rc.contextPath}/Scripts/jquery.ui.wxtab.js"></script>
        <script type="text/javascript" src="${rc.contextPath}/Scripts/jquery.ui.wxgrid.js"></script>
        <script type="text/javascript" src="${rc.contextPath}/Scripts/Calendar/jscal2.js" charset="utf-8"></script>
        <script type="text/javascript" src="${rc.contextPath}/Scripts/Calendar/lang/cn.js"></script>
        <script type="text/javascript" src="${rc.contextPath}/Scripts/webapp/01_trade/inspection_journal_certification_edit.js"></script>
        <link type="text/css" rel="stylesheet" href="${rc.contextPath}/Styles/Grid.css" />
        <link type="text/css" rel="stylesheet" href="${rc.contextPath}/Styles/Forms_Edit.css" />
        <link type="text/css" rel="stylesheet" href="${rc.contextPath}/Styles/Calendar/jscal2.css" />
        <link type="text/css" rel="stylesheet" href="${rc.contextPath}/Styles/UI/TabStrip.css" />
    </head>
    <body>
        <div id="panelTop" style="position:relative; top:0px; height:28px; line-height:28px;">
            <div id="btnPanel" style="position:relative; left:8px; width:auto; top:1px; padding-top:0px;">
                <input type="button" name="_ButClose" value="关闭" id="ButClose" class="actButton" onclick="closePopupWnd();" />
            </div>
        </div>
        <div id="SlaveArea" style="position:relative; top:5px;">
            <ul id="tabPanelHeader" class="tabstrip" style="top:0px; width:100%">
                <li id="menu_01" class="tabInactive">
                    <div>
                        <span class="tab_stretch"><span class="tabtext"><abbr class="ls_01">化检合格证</abbr></span></span>
                    </div>
                </li>
                <li id="menu_02">
                    <div>
                        <span class="tab_stretch"><span class="tabtext"><abbr class="ls_02">合格证明细</abbr></span></span>
                    </div>
                </li>
            </ul>
            <div id="tabPanelContent" class="tab-wrapper" style="top:0px; height:auto;">
                <div id="tabWrapper_01" class="tab-content" style="width:100%;">
                    <div id="btnPanel01" style="position:relative; top:5px; left:0px; width:auto;">
                        <input type="button" name="_ButNew" value="增加" id="ButNew" class="actButton" onclick="thisPage.DoInsert();"/>
                        <input type="button" name="_ButUpdate" value="保存" id="ButUpdate" class="actButton" onclick="thisPage.Save();" />
                    </div>
                    <div id="SlaveDataArea_01" style="margin-top:10px;">
                        <table id="tb-field" class="field" style="position:relative; top:0px; left:0px; text-align:left; width:100%;">
                            <colgroup>
                                <col style="width: 110px;" />
                                <col style="width: 210px;" />
                                <col style="width: 110px;" />
                                <col style="width: 180px;" />
                                <col style="width: 110px;" />
                                <col style="width: 210px;" />
                                <col style="width: 110px;" />
                                <col />
                            </colgroup>
                            <tbody>
                                <tr>
                                    <th>
                                        <label for="CertificationNo">合格证号<em>★</em></label>
                                    </th>
                                    <td>
                                        <input type="text" id="CertificationNo" name="_CertificationNo" tabindex="1" />
                                    </td>
                                    <th>
                                        <label for="IsFinal">最终合格证</label>
                                    </th>
                                    <td>
                                        <input type="checkbox" class="checkbox" id="IsFinal" name="_IsFinal" tabindex="2" />
                                    </td>
                                    <th>
                                        <label for="Receiver">接收人（To）</label>
                                    </th>
                                    <td>
                                        <input type="text" id="Receiver" name="_Receiver" tabindex="3" />
                                    </td>
                                    <th>
                                        <label for="SenderName">发送人（From）</label>
                                    </th>
                                    <td>
                                        <input type="hidden" id="Sender" name="_Sender" tabindex="4" />
                                        <input type="text" id="SenderName" name="_SenderName" tabindex="4" />
                                        <span id="ChoiceDutyMan" title="选择数据" style="cursor:pointer;" onclick="thisPage.DoChoiceSender();"><i class="fa-all fa-question-circle fa-1"></i></span>
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        <label for="DateOfSend">日期</label>
                                    </th>
                                    <td colspan="7">
                                        <input type="text" id="DateOfSend" name="_DateOfSend" tabindex="5" />
                                    </td>
                                </tr>
                                <tr>
                                    <th style="vertical-align:top; padding-top:5px;">
                                        <label for="Description">备注</label>
                                    </th>
                                    <td colspan="7">
                                        <textarea class="area" id="Description" name="_Description" rows="6" tabindex="6" style="width:100%; height:105px; resize:none;"></textarea>
                                    </td>
                                </tr>
                            </tbody>
                        </table>                  
                    </div>
                </div>
                <!-- 明细-->
                <div id="tabWrapper_02" class="tab-content" style="width:100%;">
                    <div class="btnPanel_02" style="position:relative; top:5px; left:0px; width:auto;"">
                        <input type="button" name="_ButInsertNoOfStyleLines" value="增加" id="ButInsertNoOfStyleLines" class="actButton" onclick="linesHandler.AddLines();" />
                        <input type="button" name="_ButSaveNoOfStyleLines" value="保存" id="ButSaveNoOfStyleLines" class="actButton" onclick="linesHandler.SaveLines();" />
                    </div>
                    <table id="slaveContent_02" class="grid01" style="margin-top:10px; width:100%;">
                        <tr>
                            <th style="padding:0px;">
                                <table id="tabHeader01" class="grid01" style="border:none; width:100%;">
                                    <colgroup>
                                        <col style="width: 36px;" />
                                        <col style="width: 36px;" />
                                        <col style="width: 90px;" />
                                        <col style="width: 90px;" />
                                        <col style="width: 180px;" />
                                        <col style="width: 70px;" />
                                        <col style="width: 27px;" />
                                        <col style="width: 160px;" />
                                        <col style="width: 240px;" />
                                        <col style="width: 100px;" />
                                        <col style="width: 80px;" />
                                        <col />
                                        <col style="width: 18px;" />
                                    </colgroup>
                                    <thead>
                                        <tr>
                                            <th style="border-bottom:none; text-align:center;">删除</th>
                                            <th style="border-bottom:none; text-align:center;">合格</th>
                                            <th style="border-bottom:none;">品名</th>
                                            <th style="border-bottom:none;">主合同号</th>
                                            <th style="border-bottom:none;">唛头号</th>
                                            <th style="border-bottom:none; text-align:center;">资材属性</th>
                                            <th style="border-bottom:none; text-align:center;">#</th>
                                            <th style="border-bottom:none;">颜色</th>
                                            <th style="border-bottom:none;">材料名称</th>
                                            <th style="border-bottom:none;" class="editable-column">追加项目</th>
                                            <th style="border-bottom:none;" class="editable-column">付款方</th>
                                            <th style="border-bottom:none;" class="editable-column">备注</th>
                                        </tr>
                                    </thead>
                                </table>
                            </th>
                        </tr>
                        <tr>
                            <td style="padding:0px; vertical-align:top;">
                                <div id="divD_21" class="gridDataWrapper" style="max-height:119px; border:none; width:100%; overflow-y:scroll; overflow:-moz-scrollbars-vertical;">
                                    <table id="tabData01" class="grid01" style="margin-top:-1px; width:100%;">
                                        <colgroup>
                                            <col style="width: 36px;" />
                                            <col style="width: 36px;" />
                                            <col style="width: 90px;" />
                                            <col style="width: 90px;" />
                                            <col style="width: 180px;" />
                                            <col style="width: 70px;" />
                                            <col style="width: 27px;" />
                                            <col style="width: 160px;" />
                                            <col style="width: 240px;" />
                                            <col style="width: 100px;" />
                                            <col style="width: 80px;" />
                                            <col />
                                        </colgroup>
                                        <tbody>
                                        </tbody>
                                    </table>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
        <input id="LinesId" type="hidden" value="" />
    </body>